package com.itheima.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.ydd.entity.SysConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Wang.XL
 */
@Mapper
public interface SysConfigMapper extends BaseMapper<SysConfig> {

    @Select("SELECT group_value FROM sys_config GROUP BY group_value")
    List<String> getGroupValue();
}
